<!--
 * @author: 十一
 * @since: 2024-10-27
 * Chart-Header.vue
 * @desc: new page
-->
<template>
        <div id="top-header">
            <dv-decoration-8 class="header-left-decoration" />
            <dv-decoration-5 class="header-center-decoration" />
            <dv-decoration-8 class="header-right-decoration" :reverse="true" />
            <div class="center-title">Vue3+Vite+TS 大屏数据可视化</div>
          </div>
</template>

<script lang='ts' setup>
    
</script>
 
<style lang = "less" scoped>
    #top-header {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;

  .header-center-decoration {
    width: 40%;
    height: 60px;
    margin-top: 30px;
  }

  .header-left-decoration,
  .header-right-decoration {
    width: 25%;
    height: 60px;
  }

  .center-title {
    position: absolute;
    font-size: 30px;
    font-weight: bold;
    left: 50%;
    top: 15px;
    color: #ffffff;
    transform: translateX(-50%);
  }
}
</style>